package com.gsoe.auth.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserLoginDTO {
    @NotNull
    @Size(min = 3, max = 20)
    String username;
    @NotNull
    @Size(min = 6)
    String password;
    //验证码
    @Size(min = 4, max = 4)
    String code;
    @NotNull
    @Size(min = 3, max = 20)
    String id;
}
